package com.z.controller;


import com.z.entity.AuRights;
import com.z.service.AuRightsService;
import com.z.service.AuRolesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zz
 * @since 2021-08-13
 */
@RestController
@RequestMapping("/au-rights")
public class AuRightsController {

    @Autowired
    AuRightsService auRightsService;

    @GetMapping("/Hello")
    public String HelloWorld(){

        AuRights byId = auRightsService.getById(1);
        System.out.println(byId);
        return "HelloWord";
    }



}

